package com.sinry.web.config;

import com.sinry.cache.config.CacheRegisterConfiguration;
import com.sinry.cache.service.Cache;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: XinLei
 * @Date: 2021/12/11 18:52
 */
@Configuration
public class CacheConfig {

		@Bean
		public Cache cacheRegister () {
				CacheRegisterConfiguration cacheRegisterConfiguration = new CacheRegisterConfiguration();
				return cacheRegisterConfiguration.register();
		}
}
